package com.walker.taogong.dal;

import java.util.List;

import com.walker.taogong.datamodel.Task;
import com.walker.taogong.datamodel.User;

public interface TaskDal
{
    public void saveTask(Task task);
    
    public List<Task> getTasksByUser(User user);
    
    public List<Task> getAllTasks();
    
    public Task getTaskById(int id);
   

}
